package com.example.springboothello.service.impl;

import com.example.springboothello.service.HelloService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class HelloServiceImpl implements HelloService {

    @Override
    public String helloService(){
        return "helloService";
    }

    @Override
    @Transactional
    public int add() {
        return 0;
    }
}
